package com.guoguo.ztree.service;

import com.guoguo.ztree.entity.Group;
import com.guoguo.ztree.entity.Paging;

import java.util.List;

public interface GroupService {
    /**
     * 部门列表
     *
     * @return
     */
    List<Group> getGroupListByParentId(Long parentId);

    /**
     * 部门列表分页
     *
     * @return
     */
    Paging<Group> getGroupListPage(Group group, long pageNum, int pageSize);

    /**
     * 批量添加数据
     *
     * @return
     */
    int[] batchAdd();
}
